<%--
  Created by IntelliJ IDEA.
  User: shu
  Date: 2018/8/9
  Time: 18:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" type="text/css" href="../static/css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../static/css/login.css">
</head>
<body>
<div id="container">
    <div class="col-md-3 col-center-block">
        <div class="col-md-6 denglu "><span>管理系统</span></div>
        <form class="form-horizontal" role="form" action="/sublogin" method="post">
            <div class="form-group">
                <!-- <label for="firstname" class="col-sm-2 control-label">名字</label> -->
                <div class="col-sm-12">
                    <input type="text" class="form-control" id="userName" name="userName" value="${user.userName}"
                           placeholder="请输入用户名">
                </div>
            </div>
            <div class="form-group">
                <!-- <label for="password" class="col-sm-2 control-label">密码</label> -->
                <div class="col-sm-12">
                    <input type="password" class="form-control" id="password" name="password" value="${user.password}"
                           placeholder="请输入密码">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-12">
                    <button type="submit" class="btn btn-success col-sm-12">登录</button>
                </div>
            </div>
            <span class="col-sm-12 error">${error}</span>
        </form>
    </div>
</div>
<script src="../static/js/jquery.min.js"></script>
<!-- 包括所有已编译的插件 -->
<script src="../static/js/bootstrap.js"></script>
</body>
</html>
